package org.jeecg.modules.gongqiang.vo;

import java.util.List;
import org.jeecg.modules.gongqiang.entity.Good;
import org.jeecg.modules.gongqiang.entity.GoodDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 商品主表
 * @Author: jeecg-boot
 * @Date:   2024-06-12
 * @Version: V1.0
 */
@Data
@ApiModel(value="goodPage对象", description="商品主表")
public class GoodPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
	@ApiModelProperty(value = "商品名称")
    private java.lang.String name;
	/**商品分类*/
	@Excel(name = "商品分类", width = 15, dictTable = "good_type", dicText = "name", dicCode = "id")
    @Dict(dictTable = "good_type", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "商品分类")
    private java.lang.String goodTypeId;
	/**库存*/
	@Excel(name = "库存", width = 15)
	@ApiModelProperty(value = "库存")
    private java.lang.Integer stockNum;
	/**状态（0下架，1上架）*/
	@Excel(name = "状态（0下架，1上架）", width = 15)
	@ApiModelProperty(value = "状态（0下架，1上架）")
    private java.lang.Integer status;
	/**商品图片*/
	@Excel(name = "商品图片", width = 15)
	@ApiModelProperty(value = "商品图片")
    private java.lang.String goodUrl;
	/**商品描述*/
	@Excel(name = "商品描述", width = 15)
	@ApiModelProperty(value = "商品描述")
    private java.lang.String contentText;
	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
    private java.lang.Integer isort;


	@Excel(name = "商品编码", width = 15)
	@ApiModelProperty(value = "商品编码")
	private java.lang.String goodCode;



	@Excel(name = "软件url", width = 15)
	@ApiModelProperty(value = "软件url")
	private java.lang.String   pcUrl;


	@Excel(name = "额外的url", width = 15)
	@ApiModelProperty(value = "额外的url")
	private java.lang.String   additionalUrl;



	@ExcelCollection(name="商品详情")
	@ApiModelProperty(value = "商品详情")
	private List<GoodDetail> goodDetailList;

}
